package com.lzy.fastboot.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {


    @RequestMapping("/T1")
    public String handle01() {
        return "Hello, Spring Boot 2!";
    }

    @GetMapping("/hello")
    public String hello() {
        return "Hello, Spring Boot 2!";
    }

}